package cn.schoolwow.flow.monitor.test.config;

import cn.schoolwow.flow.monitor.domain.FlowMonitorOption;
import cn.schoolwow.quickdao.domain.DAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FlowMonitorConfig {
    @Bean
    @Autowired
    public FlowMonitorOption flowMonitorOption(DAO starterDAO){
        FlowMonitorOption flowMonitorOption = new FlowMonitorOption();
        flowMonitorOption.basePackageName = "cn.schoolwow.flow.monitor.test";
        flowMonitorOption.dao = starterDAO;
        return flowMonitorOption;
    }
}
